<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::ModelObject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_slic3r_1_1_model_object-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::ModelObject Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_model_8hpp_source.html">Model.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0924c79ccdc0dd9c282e04859355462e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model.html">Model</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a0924c79ccdc0dd9c282e04859355462e">get_model</a> () const</td></tr>
<tr class="separator:a0924c79ccdc0dd9c282e04859355462e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc88ef694c1ff943f9c7627c8c1fb938"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#acc88ef694c1ff943f9c7627c8c1fb938">add_volume</a> (const <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> &amp;<a class="el" href="class_slic3r_1_1_model_object.html#a06b8dc904dbfca651225de86c824c8cb">mesh</a>)</td></tr>
<tr class="separator:acc88ef694c1ff943f9c7627c8c1fb938"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace1da79b0db6d27c35350cf06727398b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ace1da79b0db6d27c35350cf06727398b">add_volume</a> (const <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> &amp;volume)</td></tr>
<tr class="separator:ace1da79b0db6d27c35350cf06727398b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7f0a4b2ce4b0e888a35f68d8231ed96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aa7f0a4b2ce4b0e888a35f68d8231ed96">delete_volume</a> (size_t idx)</td></tr>
<tr class="separator:aa7f0a4b2ce4b0e888a35f68d8231ed96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a260ac4321aaaa1e3c53c24194c23b336"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a260ac4321aaaa1e3c53c24194c23b336">clear_volumes</a> ()</td></tr>
<tr class="memdesc:a260ac4321aaaa1e3c53c24194c23b336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all ModelVolumes in the.  <a href="#a260ac4321aaaa1e3c53c24194c23b336">More...</a><br /></td></tr>
<tr class="separator:a260ac4321aaaa1e3c53c24194c23b336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acda0b940cd0f3a7fd9da3888ca92f461"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#acda0b940cd0f3a7fd9da3888ca92f461">add_instance</a> ()</td></tr>
<tr class="separator:acda0b940cd0f3a7fd9da3888ca92f461"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af284ae5d50d4d5e0dfa244185cc2d61d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#af284ae5d50d4d5e0dfa244185cc2d61d">add_instance</a> (const <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> &amp;instance)</td></tr>
<tr class="separator:af284ae5d50d4d5e0dfa244185cc2d61d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41d437c6370fee9cce6e0e3272f9a728"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a41d437c6370fee9cce6e0e3272f9a728">delete_instance</a> (size_t idx)</td></tr>
<tr class="separator:a41d437c6370fee9cce6e0e3272f9a728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a926d5d3ea766c9f266a4f0f175240230"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a926d5d3ea766c9f266a4f0f175240230">delete_last_instance</a> ()</td></tr>
<tr class="memdesc:a926d5d3ea766c9f266a4f0f175240230"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete the last created <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> object.  <a href="#a926d5d3ea766c9f266a4f0f175240230">More...</a><br /></td></tr>
<tr class="separator:a926d5d3ea766c9f266a4f0f175240230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae511db0a72e09f24c8216160952f6b46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ae511db0a72e09f24c8216160952f6b46">clear_instances</a> ()</td></tr>
<tr class="memdesc:ae511db0a72e09f24c8216160952f6b46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> objects found in the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>.  <a href="#ae511db0a72e09f24c8216160952f6b46">More...</a><br /></td></tr>
<tr class="separator:ae511db0a72e09f24c8216160952f6b46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b950231c1b2343821053c799b723265"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a2b950231c1b2343821053c799b723265">bounding_box</a> ()</td></tr>
<tr class="memdesc:a2b950231c1b2343821053c799b723265"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the bounding box of the <em>transformed</em> instances.  <a href="#a2b950231c1b2343821053c799b723265">More...</a><br /></td></tr>
<tr class="separator:a2b950231c1b2343821053c799b723265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a782ab19ba19c4a7d30e23ac677ff2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#af3a782ab19ba19c4a7d30e23ac677ff2">invalidate_bounding_box</a> ()</td></tr>
<tr class="memdesc:af3a782ab19ba19c4a7d30e23ac677ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the bounding box in the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>.  <a href="#af3a782ab19ba19c4a7d30e23ac677ff2">More...</a><br /></td></tr>
<tr class="separator:af3a782ab19ba19c4a7d30e23ac677ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaea2556a54c68c55c04a7d391b311c20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aaea2556a54c68c55c04a7d391b311c20">repair</a> ()</td></tr>
<tr class="memdesc:aaea2556a54c68c55c04a7d391b311c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Repair all <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> objects found in each <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>.  <a href="#aaea2556a54c68c55c04a7d391b311c20">More...</a><br /></td></tr>
<tr class="separator:aaea2556a54c68c55c04a7d391b311c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06b8dc904dbfca651225de86c824c8cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a06b8dc904dbfca651225de86c824c8cb">mesh</a> () const</td></tr>
<tr class="memdesc:a06b8dc904dbfca651225de86c824c8cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flatten all volumes and instances into a single mesh and applying all the ModelInstances transformations.  <a href="#a06b8dc904dbfca651225de86c824c8cb">More...</a><br /></td></tr>
<tr class="separator:a06b8dc904dbfca651225de86c824c8cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e1af9ac7b2647ed5133b0fda6c4e9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a32e1af9ac7b2647ed5133b0fda6c4e9d">raw_mesh</a> () const</td></tr>
<tr class="memdesc:a32e1af9ac7b2647ed5133b0fda6c4e9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flatten all volumes into a single mesh.  <a href="#a32e1af9ac7b2647ed5133b0fda6c4e9d">More...</a><br /></td></tr>
<tr class="separator:a32e1af9ac7b2647ed5133b0fda6c4e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf811b81743aae7997e9c1deace1295a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#adf811b81743aae7997e9c1deace1295a">raw_bounding_box</a> () const</td></tr>
<tr class="separator:adf811b81743aae7997e9c1deace1295a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95732e1ec19066584667229fbdcedc2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a95732e1ec19066584667229fbdcedc2a">instance_bounding_box</a> (size_t instance_idx) const</td></tr>
<tr class="separator:a95732e1ec19066584667229fbdcedc2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a901bd944fa08e90df62a432b75519e1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a901bd944fa08e90df62a432b75519e1a">align_to_ground</a> ()</td></tr>
<tr class="memdesc:a901bd944fa08e90df62a432b75519e1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Align the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> to ground by translating the ModelVolumes in the z axis the needed units.  <a href="#a901bd944fa08e90df62a432b75519e1a">More...</a><br /></td></tr>
<tr class="separator:a901bd944fa08e90df62a432b75519e1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7703105a71370582025638b5224288"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a3c7703105a71370582025638b5224288">center_around_origin</a> ()</td></tr>
<tr class="memdesc:a3c7703105a71370582025638b5224288"><td class="mdescLeft">&#160;</td><td class="mdescRight">Center the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> to origin by translating the ModelVolumes.  <a href="#a3c7703105a71370582025638b5224288">More...</a><br /></td></tr>
<tr class="separator:a3c7703105a71370582025638b5224288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d7d21ccb9fc87b5484da771d770631d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a7d7d21ccb9fc87b5484da771d770631d">translate</a> (const <a class="el" href="namespace_slic3r.html#a96d7834529e8e477798befb6be229d27">Vectorf3</a> &amp;vector)</td></tr>
<tr class="separator:a7d7d21ccb9fc87b5484da771d770631d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d5c4ba99bef2de5b2a51905faa82354"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a7d5c4ba99bef2de5b2a51905faa82354">translate</a> (<a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> x, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> y, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> z)</td></tr>
<tr class="separator:a7d5c4ba99bef2de5b2a51905faa82354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea97439f74a6c01491228c548d3088d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aea97439f74a6c01491228c548d3088d5">scale</a> (float factor)</td></tr>
<tr class="separator:aea97439f74a6c01491228c548d3088d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53b749b933a7ca7be1cc8d888ba1dbf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a53b749b933a7ca7be1cc8d888ba1dbf0">scale</a> (const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;versor)</td></tr>
<tr class="separator:a53b749b933a7ca7be1cc8d888ba1dbf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6301c4d7981b7c03b615aa22f4bffff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ad6301c4d7981b7c03b615aa22f4bffff">scale_to_fit</a> (const <a class="el" href="namespace_slic3r.html#ab29c4074a3a2ad584ef1c3b911594034">Sizef3</a> &amp;size)</td></tr>
<tr class="separator:ad6301c4d7981b7c03b615aa22f4bffff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa516e1b27a85f119159c726e288b11ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aa516e1b27a85f119159c726e288b11ea">rotate</a> (float angle, const <a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a> &amp;axis)</td></tr>
<tr class="separator:aa516e1b27a85f119159c726e288b11ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca9c21e5f5d4665bab898e804dc93c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a6ca9c21e5f5d4665bab898e804dc93c7">mirror</a> (const <a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a> &amp;axis)</td></tr>
<tr class="separator:a6ca9c21e5f5d4665bab898e804dc93c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7e0e87e740b8833a1d7c46a6bd829eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ab7e0e87e740b8833a1d7c46a6bd829eb">transform_by_instance</a> (<a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> instance, bool dont_translate=false)</td></tr>
<tr class="separator:ab7e0e87e740b8833a1d7c46a6bd829eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b990a09f8af9351738afdc39a3e09e0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a7b990a09f8af9351738afdc39a3e09e0">materials_count</a> () const</td></tr>
<tr class="separator:a7b990a09f8af9351738afdc39a3e09e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0b73d643877023bbce271485f205f1b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ad0b73d643877023bbce271485f205f1b">facets_count</a> () const</td></tr>
<tr class="separator:ad0b73d643877023bbce271485f205f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ed51fe81a3f7f2d486077ce44901f85"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a7ed51fe81a3f7f2d486077ce44901f85">needed_repair</a> () const</td></tr>
<tr class="separator:a7ed51fe81a3f7f2d486077ce44901f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ae091c917fdaf334b8fbfa4e072c08"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a02ae091c917fdaf334b8fbfa4e072c08">cut</a> (<a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a> axis, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> z, <a class="el" href="class_slic3r_1_1_model.html">Model</a> *model) const</td></tr>
<tr class="separator:a02ae091c917fdaf334b8fbfa4e072c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f24b94617feeabe59d5902d38fde0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#ac5f24b94617feeabe59d5902d38fde0e">split</a> (<a class="el" href="namespace_slic3r.html#a50c92387a95ca7fd4fa017aa212dd5e5">ModelObjectPtrs</a> *new_objects)</td></tr>
<tr class="separator:ac5f24b94617feeabe59d5902d38fde0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af05d96d1ce6fc57d10609774806c6b89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#af05d96d1ce6fc57d10609774806c6b89">update_bounding_box</a> ()</td></tr>
<tr class="memdesc:af05d96d1ce6fc57d10609774806c6b89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the bounding box in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>.  <a href="#af05d96d1ce6fc57d10609774806c6b89">More...</a><br /></td></tr>
<tr class="separator:af05d96d1ce6fc57d10609774806c6b89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac0758e5bda0f54f0cef1056aa9003e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aac0758e5bda0f54f0cef1056aa9003e6">print_info</a> () const</td></tr>
<tr class="memdesc:aac0758e5bda0f54f0cef1056aa9003e6"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_slic3r_1_1_print.html">Print</a> the current info of this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>.  <a href="#aac0758e5bda0f54f0cef1056aa9003e6">More...</a><br /></td></tr>
<tr class="separator:aac0758e5bda0f54f0cef1056aa9003e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3fe28b2958454b2b84f805d458c1d5ca"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a3fe28b2958454b2b84f805d458c1d5ca">name</a></td></tr>
<tr class="memdesc:a3fe28b2958454b2b84f805d458c1d5ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> name.  <a href="#a3fe28b2958454b2b84f805d458c1d5ca">More...</a><br /></td></tr>
<tr class="separator:a3fe28b2958454b2b84f805d458c1d5ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a803ac870d4cb0df9b9c450930ba55c2d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a803ac870d4cb0df9b9c450930ba55c2d">input_file</a></td></tr>
<tr class="memdesc:a803ac870d4cb0df9b9c450930ba55c2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input file path.  <a href="#a803ac870d4cb0df9b9c450930ba55c2d">More...</a><br /></td></tr>
<tr class="separator:a803ac870d4cb0df9b9c450930ba55c2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b7b4b7c04d64a05dd5fdff3219f904"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a244a8478a6c5bb0ddad539a6bf102fc5">ModelInstancePtrs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a96b7b4b7c04d64a05dd5fdff3219f904">instances</a></td></tr>
<tr class="separator:a96b7b4b7c04d64a05dd5fdff3219f904"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee3647118098098aef2053ed463f191a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a9a2feb7eb9eb40a4bec6347f6af73712">ModelVolumePtrs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#aee3647118098098aef2053ed463f191a">volumes</a></td></tr>
<tr class="separator:aee3647118098098aef2053ed463f191a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c9bff73377070e42318b08876b16b59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_dynamic_print_config.html">DynamicPrintConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a6c9bff73377070e42318b08876b16b59">config</a></td></tr>
<tr class="memdesc:a6c9bff73377070e42318b08876b16b59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration parameters specific to a single <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>, overriding the global <a class="el" href="namespace_slic3r.html">Slic3r</a> settings.  <a href="#a6c9bff73377070e42318b08876b16b59">More...</a><br /></td></tr>
<tr class="separator:a6c9bff73377070e42318b08876b16b59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8902e0824606b33534f601271836f828"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a2f698375db05709614654b236a38a7be">t_layer_height_ranges</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a8902e0824606b33534f601271836f828">layer_height_ranges</a></td></tr>
<tr class="memdesc:a8902e0824606b33534f601271836f828"><td class="mdescLeft">&#160;</td><td class="mdescRight">Variation of a layer thickness for spans of Z coordinates.  <a href="#a8902e0824606b33534f601271836f828">More...</a><br /></td></tr>
<tr class="separator:a8902e0824606b33534f601271836f828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8235ded08b399598a923c44fa31d0d3c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a8235ded08b399598a923c44fa31d0d3c">part_number</a></td></tr>
<tr class="memdesc:a8235ded08b399598a923c44fa31d0d3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">It's used for the 3MF items part numbers in the build element.  <a href="#a8235ded08b399598a923c44fa31d0d3c">More...</a><br /></td></tr>
<tr class="separator:a8235ded08b399598a923c44fa31d0d3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb113472f8d0b30f0bf6d5881b870c05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#abb113472f8d0b30f0bf6d5881b870c05">layer_height_spline</a></td></tr>
<tr class="memdesc:abb113472f8d0b30f0bf6d5881b870c05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spline based variations of layer thickness for interactive user manipulation.  <a href="#abb113472f8d0b30f0bf6d5881b870c05">More...</a><br /></td></tr>
<tr class="separator:abb113472f8d0b30f0bf6d5881b870c05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdb4932459b5671dae78bfa794ebb769"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#acdb4932459b5671dae78bfa794ebb769">origin_translation</a></td></tr>
<tr class="separator:acdb4932459b5671dae78bfa794ebb769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ebfd96476827c2399e9c24c88631b8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a2ebfd96476827c2399e9c24c88631b8e">_bounding_box</a></td></tr>
<tr class="separator:a2ebfd96476827c2399e9c24c88631b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a5a87c7b499825ff41b23d59134b629"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a8a5a87c7b499825ff41b23d59134b629">_bounding_box_valid</a></td></tr>
<tr class="separator:a8a5a87c7b499825ff41b23d59134b629"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a2bf2a0e9b454c55aa5dcb5aa4698697b"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_object.html#a2bf2a0e9b454c55aa5dcb5aa4698697b">Model</a></td></tr>
<tr class="separator:a2bf2a0e9b454c55aa5dcb5aa4698697b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_slic3r_1_1_model.html">Model</a> Object class A printable object, possibly having multiple print volumes (each with its own set of parameters and materials), and possibly having multiple modifier volumes, each modifier volume with its set of parameters and materials. Each <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> may be instantiated multiple times, each instance having different placement on the print bed, different rotation and different uniform scaling. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="acda0b940cd0f3a7fd9da3888ca92f461"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acda0b940cd0f3a7fd9da3888ca92f461">&#9670;&nbsp;</a></span>add_instance() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> * Slic3r::ModelObject::add_instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> to the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p><dl class="section return"><dt>Returns</dt><dd>ModelInstance* a pointer to the new instance </dd></dl>

</div>
</div>
<a id="af284ae5d50d4d5e0dfa244185cc2d61d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af284ae5d50d4d5e0dfa244185cc2d61d">&#9670;&nbsp;</a></span>add_instance() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> * Slic3r::ModelObject::add_instance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> &amp;&#160;</td>
          <td class="paramname"><em>instance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> to the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td>the <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ModelInstance* a pointer to the new instance </dd></dl>

</div>
</div>
<a id="acc88ef694c1ff943f9c7627c8c1fb938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc88ef694c1ff943f9c7627c8c1fb938">&#9670;&nbsp;</a></span>add_volume() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> * Slic3r::ModelObject::add_volume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> &amp;&#160;</td>
          <td class="paramname"><em>mesh</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> to the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. The mesh is copied into the newly created <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mesh</td><td>TriangularMesh </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ModelVolume* pointer to the new volume </dd></dl>

</div>
</div>
<a id="ace1da79b0db6d27c35350cf06727398b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace1da79b0db6d27c35350cf06727398b">&#9670;&nbsp;</a></span>add_volume() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> * Slic3r::ModelObject::add_volume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> &amp;&#160;</td>
          <td class="paramname"><em>volume</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a new <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> to the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">volume</td><td>the <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> object to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ModelVolume* pointer to the new volume </dd></dl>

</div>
</div>
<a id="a901bd944fa08e90df62a432b75519e1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a901bd944fa08e90df62a432b75519e1a">&#9670;&nbsp;</a></span>align_to_ground()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::align_to_ground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Align the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> to ground by translating the ModelVolumes in the z axis the needed units. </p>

</div>
</div>
<a id="a2b950231c1b2343821053c799b723265"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b950231c1b2343821053c799b723265">&#9670;&nbsp;</a></span>bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelObject::bounding_box </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the bounding box of the <em>transformed</em> instances. </p>

</div>
</div>
<a id="a3c7703105a71370582025638b5224288"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c7703105a71370582025638b5224288">&#9670;&nbsp;</a></span>center_around_origin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::center_around_origin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Center the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> to origin by translating the ModelVolumes. </p>

</div>
</div>
<a id="ae511db0a72e09f24c8216160952f6b46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae511db0a72e09f24c8216160952f6b46">&#9670;&nbsp;</a></span>clear_instances()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::clear_instances </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete all <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> objects found in the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<a id="a260ac4321aaaa1e3c53c24194c23b336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a260ac4321aaaa1e3c53c24194c23b336">&#9670;&nbsp;</a></span>clear_volumes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::clear_volumes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete all ModelVolumes in the. </p>

</div>
</div>
<a id="a02ae091c917fdaf334b8fbfa4e072c08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02ae091c917fdaf334b8fbfa4e072c08">&#9670;&nbsp;</a></span>cut()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::cut </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a>&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_model.html">Model</a> *&#160;</td>
          <td class="paramname"><em>model</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cut (Slice) the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> along a certain axis at a certain coordinate. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">axis</td><td>Axis the axis to slice at (X = 0 or Y or Z) </td></tr>
    <tr><td class="paramname">z</td><td>coordf_t the point at the certain axis to cut(slice) the <a class="el" href="class_slic3r_1_1_model.html">Model</a> at </td></tr>
    <tr><td class="paramname">model</td><td>Model* pointer to the <a class="el" href="class_slic3r_1_1_model.html">Model</a> which will get the resulting objects added </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a41d437c6370fee9cce6e0e3272f9a728"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41d437c6370fee9cce6e0e3272f9a728">&#9670;&nbsp;</a></span>delete_instance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::delete_instance </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Delete a <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>size_t the index of the <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> to be deleted </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a926d5d3ea766c9f266a4f0f175240230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a926d5d3ea766c9f266a4f0f175240230">&#9670;&nbsp;</a></span>delete_last_instance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::delete_last_instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete the last created <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> object. </p>

</div>
</div>
<a id="aa7f0a4b2ce4b0e888a35f68d8231ed96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7f0a4b2ce4b0e888a35f68d8231ed96">&#9670;&nbsp;</a></span>delete_volume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::delete_volume </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Delete a <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> object. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>size_t the index of the <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> to be deleted </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad0b73d643877023bbce271485f205f1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0b73d643877023bbce271485f205f1b">&#9670;&nbsp;</a></span>facets_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t Slic3r::ModelObject::facets_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the number of the facets found in all <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> objects in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> which are not modifier volumes. </p><dl class="section return"><dt>Returns</dt><dd>size_t the facets count </dd></dl>

</div>
</div>
<a id="a0924c79ccdc0dd9c282e04859355462e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0924c79ccdc0dd9c282e04859355462e">&#9670;&nbsp;</a></span>get_model()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model.html">Model</a>* Slic3r::ModelObject::get_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the owning parent <a class="el" href="class_slic3r_1_1_model.html">Model</a>. </p><dl class="section return"><dt>Returns</dt><dd>parent Model* pointer to the owner <a class="el" href="class_slic3r_1_1_model.html">Model</a> </dd></dl>

</div>
</div>
<a id="a95732e1ec19066584667229fbdcedc2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95732e1ec19066584667229fbdcedc2a">&#9670;&nbsp;</a></span>instance_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelObject::instance_bounding_box </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>instance_idx</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the bounding box of the <em>transformed</em> given instance. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance_idx</td><td>size_t the index of the <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> in the <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> vector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> the bounding box at the given index </dd></dl>

</div>
</div>
<a id="af3a782ab19ba19c4a7d30e23ac677ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3a782ab19ba19c4a7d30e23ac677ff2">&#9670;&nbsp;</a></span>invalidate_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::invalidate_bounding_box </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invalidate the bounding box in the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<a id="a7b990a09f8af9351738afdc39a3e09e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b990a09f8af9351738afdc39a3e09e0">&#9670;&nbsp;</a></span>materials_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t Slic3r::ModelObject::materials_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the number of the unique <a class="el" href="class_slic3r_1_1_model_material.html">ModelMaterial</a> objects in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p><dl class="section return"><dt>Returns</dt><dd>size_t the materials count </dd></dl>

</div>
</div>
<a id="a06b8dc904dbfca651225de86c824c8cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06b8dc904dbfca651225de86c824c8cb">&#9670;&nbsp;</a></span>mesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> Slic3r::ModelObject::mesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flatten all volumes and instances into a single mesh and applying all the ModelInstances transformations. </p>

</div>
</div>
<a id="a6ca9c21e5f5d4665bab898e804dc93c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ca9c21e5f5d4665bab898e804dc93c7">&#9670;&nbsp;</a></span>mirror()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::mirror </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a> &amp;&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mirror the current <a class="el" href="class_slic3r_1_1_model.html">Model</a> around a certain axis. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">axis</td><td>Axis enum member </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7ed51fe81a3f7f2d486077ce44901f85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ed51fe81a3f7f2d486077ce44901f85">&#9670;&nbsp;</a></span>needed_repair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::ModelObject::needed_repair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Know whether there exists a <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> object that needed repair or not. </p><dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

</div>
</div>
<a id="aac0758e5bda0f54f0cef1056aa9003e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac0758e5bda0f54f0cef1056aa9003e6">&#9670;&nbsp;</a></span>print_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::print_info </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_slic3r_1_1_print.html">Print</a> the current info of this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<a id="adf811b81743aae7997e9c1deace1295a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf811b81743aae7997e9c1deace1295a">&#9670;&nbsp;</a></span>raw_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelObject::raw_bounding_box </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the raw bounding box. This function croaks when there are no ModelInstances for this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> </p><dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> </dd></dl>

</div>
</div>
<a id="a32e1af9ac7b2647ed5133b0fda6c4e9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32e1af9ac7b2647ed5133b0fda6c4e9d">&#9670;&nbsp;</a></span>raw_mesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> Slic3r::ModelObject::raw_mesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flatten all volumes into a single mesh. </p>

</div>
</div>
<a id="aaea2556a54c68c55c04a7d391b311c20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaea2556a54c68c55c04a7d391b311c20">&#9670;&nbsp;</a></span>repair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::repair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Repair all <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> objects found in each <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>. </p>

</div>
</div>
<a id="aa516e1b27a85f119159c726e288b11ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa516e1b27a85f119159c726e288b11ea">&#9670;&nbsp;</a></span>rotate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::rotate </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#aec0518765dd6991c31ac6c40872edef8">Axis</a> &amp;&#160;</td>
          <td class="paramname"><em>axis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Rotate the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by rotating ModelVolumes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>float the angle in radians </td></tr>
    <tr><td class="paramname">axis</td><td>Axis the axis to be rotated around </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aea97439f74a6c01491228c548d3088d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea97439f74a6c01491228c548d3088d5">&#9670;&nbsp;</a></span>scale() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::scale </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>factor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Scale the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by scaling its ModelVolumes. This function calls <a class="el" href="class_slic3r_1_1_model_object.html#a53b749b933a7ca7be1cc8d888ba1dbf0">scale(const Pointf3 &amp;versor)</a> to scale every <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> in each <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">factor</td><td>float the scaling factor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a53b749b933a7ca7be1cc8d888ba1dbf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53b749b933a7ca7be1cc8d888ba1dbf0">&#9670;&nbsp;</a></span>scale() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::scale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;&#160;</td>
          <td class="paramname"><em>versor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Scale the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by scaling its ModelVolumes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">versor</td><td><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> the scaling factor in a 3d vector. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad6301c4d7981b7c03b615aa22f4bffff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6301c4d7981b7c03b615aa22f4bffff">&#9670;&nbsp;</a></span>scale_to_fit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::scale_to_fit </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#ab29c4074a3a2ad584ef1c3b911594034">Sizef3</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Scale the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> to fit by altering the scaling factor of ModelInstances. It operates on the total size by duplicating the object according to all the instances. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>Sizef3 the size vector </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac5f24b94617feeabe59d5902d38fde0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5f24b94617feeabe59d5902d38fde0e">&#9670;&nbsp;</a></span>split()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::split </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a50c92387a95ca7fd4fa017aa212dd5e5">ModelObjectPtrs</a> *&#160;</td>
          <td class="paramname"><em>new_objects</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Split the meshes of the <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> if there exists only one <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">new_objects</td><td>ModelObjectPtrs the generated ModelObjects after the single <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a> split </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab7e0e87e740b8833a1d7c46a6bd829eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7e0e87e740b8833a1d7c46a6bd829eb">&#9670;&nbsp;</a></span>transform_by_instance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::transform_by_instance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a>&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dont_translate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Transform the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by a certain <a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> attributes. Inverse transformation is applied to all the ModelInstances, so that the final size/position/rotation of the transformed objects doesn't change. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">instance</td><td><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a> the instance used to transform the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> </td></tr>
    <tr><td class="paramname">dont_translate</td><td>bool whether to translate the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> or not </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7d7d21ccb9fc87b5484da771d770631d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d7d21ccb9fc87b5484da771d770631d">&#9670;&nbsp;</a></span>translate() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::translate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a96d7834529e8e477798befb6be229d27">Vectorf3</a> &amp;&#160;</td>
          <td class="paramname"><em>vector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Translate the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by translating ModelVolumes with (x,y,z) units. This function calls <a class="el" href="class_slic3r_1_1_model_object.html#a7d5c4ba99bef2de5b2a51905faa82354">translate(coordf_t x, coordf_t y, coordf_t z)</a> to translate every <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> in each <a class="el" href="class_slic3r_1_1_model_volume.html">ModelVolume</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vector</td><td>Vectorf3 the translation vector </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7d5c4ba99bef2de5b2a51905faa82354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d5c4ba99bef2de5b2a51905faa82354">&#9670;&nbsp;</a></span>translate() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::translate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Translate the current <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> by translating ModelVolumes with (x,y,z) units. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>coordf_t the x units </td></tr>
    <tr><td class="paramname">y</td><td>coordf_t the y units </td></tr>
    <tr><td class="paramname">z</td><td>coordf_t the z units </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af05d96d1ce6fc57d10609774806c6b89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af05d96d1ce6fc57d10609774806c6b89">&#9670;&nbsp;</a></span>update_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelObject::update_bounding_box </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the bounding box in this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a2bf2a0e9b454c55aa5dcb5aa4698697b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bf2a0e9b454c55aa5dcb5aa4698697b">&#9670;&nbsp;</a></span>Model</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_slic3r_1_1_model.html">Model</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2ebfd96476827c2399e9c24c88631b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ebfd96476827c2399e9c24c88631b8e">&#9670;&nbsp;</a></span>_bounding_box</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelObject::_bounding_box</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8a5a87c7b499825ff41b23d59134b629"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a5a87c7b499825ff41b23d59134b629">&#9670;&nbsp;</a></span>_bounding_box_valid</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::ModelObject::_bounding_box_valid</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6c9bff73377070e42318b08876b16b59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c9bff73377070e42318b08876b16b59">&#9670;&nbsp;</a></span>config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_dynamic_print_config.html">DynamicPrintConfig</a> Slic3r::ModelObject::config</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configuration parameters specific to a single <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>, overriding the global <a class="el" href="namespace_slic3r.html">Slic3r</a> settings. </p>

</div>
</div>
<a id="a803ac870d4cb0df9b9c450930ba55c2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a803ac870d4cb0df9b9c450930ba55c2d">&#9670;&nbsp;</a></span>input_file</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::ModelObject::input_file</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Input file path. </p>

</div>
</div>
<a id="a96b7b4b7c04d64a05dd5fdff3219f904"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b7b4b7c04d64a05dd5fdff3219f904">&#9670;&nbsp;</a></span>instances</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a244a8478a6c5bb0ddad539a6bf102fc5">ModelInstancePtrs</a> Slic3r::ModelObject::instances</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Instances of this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. Each instance defines a shift on the print bed, rotation around the Z axis and a uniform scaling. Instances are owned by this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<a id="a8902e0824606b33534f601271836f828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8902e0824606b33534f601271836f828">&#9670;&nbsp;</a></span>layer_height_ranges</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a2f698375db05709614654b236a38a7be">t_layer_height_ranges</a> Slic3r::ModelObject::layer_height_ranges</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Variation of a layer thickness for spans of Z coordinates. </p>

</div>
</div>
<a id="abb113472f8d0b30f0bf6d5881b870c05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb113472f8d0b30f0bf6d5881b870c05">&#9670;&nbsp;</a></span>layer_height_spline</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> Slic3r::ModelObject::layer_height_spline</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Spline based variations of layer thickness for interactive user manipulation. </p>

</div>
</div>
<a id="a3fe28b2958454b2b84f805d458c1d5ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe28b2958454b2b84f805d458c1d5ca">&#9670;&nbsp;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::ModelObject::name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> name. </p>

</div>
</div>
<a id="acdb4932459b5671dae78bfa794ebb769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdb4932459b5671dae78bfa794ebb769">&#9670;&nbsp;</a></span>origin_translation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> Slic3r::ModelObject::origin_translation</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This vector accumulates the total translation applied to the object by the <a class="el" href="class_slic3r_1_1_model_object.html#a3c7703105a71370582025638b5224288" title="Center the current ModelObject to origin by translating the ModelVolumes. ">center_around_origin()</a> method. Callers might want to apply the same translation to new volumes before adding them to this object in order to preserve alignment when user expects that. </p>

</div>
</div>
<a id="a8235ded08b399598a923c44fa31d0d3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8235ded08b399598a923c44fa31d0d3c">&#9670;&nbsp;</a></span>part_number</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Slic3r::ModelObject::part_number</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>It's used for the 3MF items part numbers in the build element. </p>

</div>
</div>
<a id="aee3647118098098aef2053ed463f191a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee3647118098098aef2053ed463f191a">&#9670;&nbsp;</a></span>volumes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a9a2feb7eb9eb40a4bec6347f6af73712">ModelVolumePtrs</a> Slic3r::ModelObject::volumes</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Printable and modifier volumes, each with its material ID and a set of override parameters. ModelVolumes are owned by this <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_model_8hpp_source.html">Model.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_model_8cpp.html">Model.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
